/**
 * teComponents Package initially created by Dagny Jackson
 * includes the initial elements:
 * teJButton
 * teJComboBox
 * teJFrame
 * teJLabel
 * teJLabelWarning
 * teJList
 * teJScrollBar
 * teJScrollPane
 * teJTable
 * teJTexfield
 * 
 */

package teComponents;


import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.WindowConstants;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class teJFrame extends javax.swing.JFrame {
	

	/**
	* Auto-generated main method to display this JFrame
	*/
	 /*public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				teJFrame inst = new teJFrame();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}*/
	protected teJFrame myMDIParent;
	public teJFrame() {
		super();
		initGUI();
		myMDIParent=null;
	}
	public teJFrame(teJFrame MDIParent)
	{//Jon
		super();
		initGUI();
		myMDIParent=MDIParent;
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setBackground(new java.awt.Color(251,253,242));
			getContentPane().setLayout(null);
			getContentPane().setForeground(new java.awt.Color(43,32,3));
			//((JFrame) getContentPane()).setIconImage(Toolkit.getDefaultToolkit().getImage("images/world.png"));

			pack();
			this.setSize(645, 389);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}
//need to write a dispose event handler --Jon
	/*
	 {
	 	if(myMDIParent!=null)
	 	{
	 		myMDIParent.killer(this);
	 	}
	 }
	 */

}
